package com.llf.Service;

import com.llf.Mapper.ContentMapper;
import com.llf.Pojo.Content;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@Service
public class ContentServiceImpl implements ContentService{
    @Autowired
    private ContentMapper contentMapper;
    @Override
    public ArrayList<Content> getall() {
        return contentMapper.getall();
    }

    @Override
    public int deleteById(Integer id) {
        return contentMapper.deleteById(id);
    }
}
